package com.migu.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.migu.entity.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserMapper extends BaseMapper<User> {

    void updateUsernameById(@Param("id") String id,@Param("name") String name);

    int updatePassword(User user);
}
